import {Component} from '@angular/core';
import {UserLoginService} from "../../../pages/user/user-login/user-login.service";

@Component({
  selector: 'top-bar',
  templateUrl: './topbar.component.html'
})

export class TopbarComponent {

  constructor(public userLoginService: UserLoginService) {
  }

  public doLogout(): void {
    this.userLoginService.logout();
  }

}
